cmake_minimum_required(VERSION 3.5)
project(grpc-demo LANGUAGES CXX C)

set(CMAKE_CXX_STANDARD 17)

find_package(PkgConfig REQUIRED)
pkg_check_modules(GRPC++ REQUIRED IMPORTED_TARGET grpc++)
find_package(Protobuf REQUIRED)
include(cmake/ProtoGen.cmake)

add_subdirectory(server)
add_subdirectory(client)
